package com.yc.spring.mvc.service.impl;

import java.util.List;

import com.yc.spring.mvc.bean.UserInfo;
import com.yc.spring.mvc.core.annotation.Autowired;
import com.yc.spring.mvc.core.annotation.Component;
import com.yc.spring.mvc.dao.IUserInfoDao;
import com.yc.spring.mvc.service.IUserInfoService;

@Component
public class UserInfoServiceImpl implements IUserInfoService{
	@Autowired
	private IUserInfoDao userInfoDao;
	
	@Override
	public List<UserInfo> finds() {
		return userInfoDao.finds();
	}

}
